package com.bjx.flow.mmx.service;

import com.bjx.flow.mmx.domain.entity.MmxFlowTaskEntity;

import java.util.List;

/**
 * @desc: 流程任务服务接口
 * @author: liushuai
 * @date: 2023/05/22
 */
public interface MmxFlowTaskService {


    /**
     * 批量新增任务流程任务
     * @param tasks
     * @Author: liushuai
     * @Date: 2023/5/22 15:30
     */
    void insertFlowTaskBatch(List<MmxFlowTaskEntity> tasks);

    /**
     * 根据节点id删除任务节点
     * @param id
     * @Author: liushuai
     * @Date: 2023/5/26 15:05
     */
    void deleteTaskByNodeId(String id);


    /**
     * 根据任务id查询
     * @param taskId
     * @return: com.bjx.flow.mmx.domain.entity.FlowTaskEntity
     * @Author: liushuai
     * @Date: 2023/5/26 16:49
     */
    MmxFlowTaskEntity selectTaskByTaskId(Long taskId);
}
